package com.kcyu.sfhinvoice.service;

import com.kcyu.sfhinvoice.domain.Invoice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kcyu.sfhinvoice.domain.InvoiceTrack;
import com.kcyu.sfhinvoice.dto.WebPage;

import java.util.HashMap;
import java.util.List;

/**
* @author kc-yu
* @description 针对表【invoice】的数据库操作Service
* @createDate 2024-01-02 22:01:38
*/
public interface InvoiceService extends IService<Invoice> {

    public Invoice addInvoice(Invoice invoice);

    public WebPage<Invoice> page(WebPage<Invoice> invoice);

    public boolean removeInvoice(String id);

    public HashMap getStatistic(Invoice invoice);

    public boolean changeAddedStatus(String id);
    public boolean finishAddedStatus(String id);

    public List<InvoiceTrack> getInvoiceTrackById(String id);

}
